for i = 1 : 9
    
    oimage=imread(strcat(num2str(i),'.jpg'));
    pimage=imresize(oimage,[100 200])
    str=strcat(num2str(i),num2str(i))
    imwrite( pimage,strcat(str,'.jpg') )
end